<?php
/**
 * @fileoverview    前端投放行为日志接口
 * @author          shaopu
 * @date            Thu Jun 14 07:26:56 GMT 2012
 * @copyright       sina meila
 */
include_once '../__global.php';



class aj_actlog extends ml_controller {

    function initParam() {
        $this->content = $this->input('content');
    }
    function checkParam() {
        
        $this->check_referer();
    }
    
    function main() {
        
        $oAdmComm = new ml_model_admin_dbCommon();
        $oAdmComm->suggest_add($this->__visitor['uid'] , $this->content , $_SERVER['HTTP_REFERER']);

        $this->api_output(ML_RCODE_SUCC);
    }
}

new aj_actlog();